package com.system.service;

import com.system.pojo.Contract;
import com.system.vo.ResultVo;

public interface ContractService {

	ResultVo<Contract> insert(Contract contract);

	ResultVo<Contract> updateById(Contract contract);

	ResultVo<Contract> selectAll();

	ResultVo<Contract> selectAllDone();

	ResultVo<Contract> selectAllUndone();

    ResultVo<Contract> selectDetail(Integer contractId);

//	ResultVo<Amounts> selectProductAmounts();

    ResultVo<Contract> salerContracts(Integer uid);

    ResultVo<Contract> addproduct(Contract contract);
}
